Skip to content

JHChen3/web_security_week7

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 

Repository files navigation

Project 7 - WordPress Pentesting

Objective: Find, analyze, recreate, and document five vulnerabilities affecting an old version of WordPress

Pentesting Report

  1. WordPress 3.3-4.7.4 - Large File Upload Error XSS (CVE-ID: CVE-2017-9061)
  • Summary:

    • Vulnerability types: XSS
    • Tested in version: 4.2
    • Fixed in version: 4.2.15
  • GIF Walkthrough:

    https://user-images.githubusercontent.com/21267287/31911869-0dcbd798-b810-11e7-9ad2-e1a1c052dfe1.gif

  • Steps to recreate:

    First create a file exceeding the maximum size to be uploaded, rename the file “life.png”, then go to Upload New Media page, click on Select Files and choose the file you just created. An error message “life.png exceeds the maximum upload size for this site” will be shown, following by an alert box.

  • Affected source code:

  1. WordPress 4.0-4.7.2 - Authenticated Stored Cross-Site Scripting (XSS) in YouTube URL Embeds (CVE-ID: CVE-2017-6817)
  1. WordPress <= 4.2.3 - Legacy Theme Preview Cross-Site Scripting (XSS) (CVE-ID: CVE-2015-5734)

Resources

GIFs created with LiceCap:

https://user-images.githubusercontent.com/21267287/31911869-0dcbd798-b810-11e7-9ad2-e1a1c052dfe1.gif

https://user-images.githubusercontent.com/21267287/31912391-be29f63c-b811-11e7-99a4-4506fb1dedc9.gif

https://user-images.githubusercontent.com/21267287/31911871-0dde0b2a-b810-11e7-9956-4fb60ee0f875.gif

Notes

Doing those installments took a lot of time. When encountering some technical issues that are not mentioned in the instructions, I needed to spend additional time on finding out the solution on my own. And I think it is hard to choose a vulnerability to regenerate because many reference links do not give enough information.

License

Copyright Jin Hui Chen

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at

    http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published